.PHONY:
#all:http_server http_client
all: server http_client

server : server.cc	
	g++ $^ -o $@ -std=c++11 -lpthread

test : main.cc
	g++ $^ -o $@ -std=c++11 -lpthread

http_server : http_server.cc
	g++ $^ -o $@ -std=c++11 -lpthread

http_client : http_client.cc
	g++ $^ -o $@ -std=c++11 -lpthread

.PHONY:
clean:
	rm -rf test http_server http_client server